<template>
    <div>
        <ul>
            <li>消息1</li>
            <li>消息2</li>
            <li>消息3</li>
            <li>消息4</li>
            <li>消息5</li>
        </ul>
    </div>
</template>

<script>
    export default {
        name: "HomeMsg",
        beforeRouteEnter(to, from, next) {
            document.title = to.matched[1].meta.title,
                next()
        }
    }
</script>

<style scoped>
    ul {
        padding: 0;
    }

    li {
        list-style: none;
    }
</style>
